package com.tanhua.server.controller;

import com.tanhua.model.vo.SoulListVo;
import com.tanhua.server.service.TestSoulService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author げっしょく
 * @date 2021/11/8
 */
@RestController
@RequestMapping("/testSoul")
public class TestSoulController {

    @Autowired
    private TestSoulService testSoulService;

    @GetMapping
    public ResponseEntity getsoulList() {
        List<SoulListVo> vos = testSoulService.getSoulList();
        return ResponseEntity.ok(null);
    }
}
